package com.mySchool.entity.DTO;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class CityInsertRequest {

    @Column(name = "name")
    private String name;

    @Column(name = "province_id")
    private Long provinceId;

    @Schema(description = "邮政编码")
    @Column(name = "postal_code")
    private String postalCode;

}
